﻿@model BlackBox.Models.LocalPasswordModel
@{
    ViewBag.Title = "Manage Account";
}

<div>
    <div class="title">
        <h3>@ViewBag.Title.</h3>
    </div>

    <p class="message-success">@ViewBag.StatusMessage</p>

    <p>You're logged in as @User.Identity.Name</p>

    @if (ViewBag.HasLocalPassword)
    {
        @Html.Partial("_ChangePasswordPartial")
    }
    else
    { 
        @Html.Partial("_SetPasswordPartial")
    }

    @section Scripts {
        @Scripts.Render("~/bundles/jqueryval")
    }
</div>
